package icegps.com.pingdj.utils;

/**
 * Created by 111 on 2018/1/2.
 */

public class StringUtils {
    public static String setAccuracy(double value, int endAccuracy) {
        String format = String.format("%." + endAccuracy + "f", value);
        return format;
    }
}
